Skip to content

Dse/maintenance#1

Merged
sellisd merged 2 commits intomainfrom
DSE/maintenance
Sep 22, 2025
Merged

Dse/maintenance#1
sellisd merged 2 commits intomainfrom
DSE/maintenance

Conversation

@sellisd
Copy link
Copy Markdown
Collaborator

@sellisd sellisd commented Sep 22, 2025

No description provided.

@sellisd sellisd requested a review from Copilot September 22, 2025 11:50
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This is a maintenance update that includes dependency version bumps and import statement reorganization. The PR updates the cosmotech-api dependency from a git reference to a versioned package and reorganizes imports alphabetically across multiple Python files.

  • Version bump from 0.6.0 to 0.7.0 with dependency update to cosmotech-api 5.0.0b5
  • Alphabetical reorganization of import statements across Python modules
  • Addition of GitHub Actions workflow for linting with ruff

Reviewed Changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
pyproject.toml Version bump and dependency update from git reference to versioned package
eye/widgets/status.py Alphabetical reordering of textual imports
eye/views/users_widget.py Alphabetical reordering of textual imports
eye/views/user_screen.py Comprehensive import reorganization with grouping
eye/views/organization_widget.py Alphabetical reordering of textual imports
eye/views/object_viewer_widget.py Alphabetical reordering of textual imports
eye/views/object_tree_widget.py Import reorganization with proper grouping
eye/views/object_screen.py Import reorganization with blank line separation
eye/views/object_explore_widget.py Import reordering and formatting
eye/views/chatbot_screen.py Comprehensive import reorganization and removal of unused variable
eye/main.py Major refactoring with import reorganization and API method updates
eye/llm.py Import reorganization and grouping
eye/app.py Import reorganization with proper grouping
.github/workflows/lint.yml New GitHub Actions workflow for ruff linting

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

"""Worker to get bot response asynchronously"""
try:
response = await self.chat_api.send_message(message)
await self.chat_api.send_message(message)
Copy link

Copilot AI Sep 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The response from send_message is being ignored but the method name suggests it should return a response. This could lead to incomplete functionality if the response is needed elsewhere.

Copilot uses AI. Check for mistakes.
Comment thread eye/main.py
except Exception as e:
raise RuntimeError(f"Error getting organizations {e}")
logger.error(f"error {e}")
raise RuntimeError(f"Error getting organizations {e}")
Copy link

Copilot AI Sep 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error is logged and then immediately re-raised as a RuntimeError. This creates duplicate error information and the original exception context is lost. Consider either logging or raising, not both, or use raise ... from e to preserve the exception chain.

Suggested change
raise RuntimeError(f"Error getting organizations {e}")
raise RuntimeError(f"Error getting organizations {e}") from e

Copilot uses AI. Check for mistakes.
@sellisd sellisd merged commit 4a17483 into main Sep 22, 2025
1 check passed
@sellisd sellisd deleted the DSE/maintenance branch September 22, 2025 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants